package com.common.boot.dao;

import com.common.boot.model.Laboratory;
import com.common.boot.model.LaboratoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LaboratoryMapper {
    long countByExample(LaboratoryExample example);

    int deleteByExample(LaboratoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Laboratory row);

    int insertSelective(Laboratory row);

    List<Laboratory> selectByExample(LaboratoryExample example);

    Laboratory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") Laboratory row, @Param("example") LaboratoryExample example);

    int updateByExample(@Param("row") Laboratory row, @Param("example") LaboratoryExample example);

    int updateByPrimaryKeySelective(Laboratory row);

    int updateByPrimaryKey(Laboratory row);
}